package behavioral_pattern.command_pattern.receiver;

public class Tv {
    public int currentChannel = 0;
    public void turnOn(){
        System.out.println("turn on the tv now...");
    }
    public void turnOff(){
        System.out.println("trun off the tv now...");
    }
    public void changeChannel(int channel){
        this.currentChannel = channel;
        System.out.println("now channel is " + currentChannel);
    }
}
